package com.zjw.designPattern.listener;

/**
 * @description:
 * @author: zhangjiawei
 * @createTime:2022/3/9 15:53
 * @modified by:
 */
public class WashingHandsListener implements Listener{
    @Override
    public void fireAfterEventInvoked(Event event) {
        WashingHandsEvent washingHandsEvent = (WashingHandsEvent) event;
        System.out.println("饭前准备"+ washingHandsEvent.getEventName());
    }
}
